- Josef Koláček
- PowerBuilder
- Sunday, 12 March 2023 09:12 AM UTC
Hello Appeon Community,
According to article from https://docs.appeon.com/pb2019/pbug/ch07s02.html#ug12761:
Read-only. When you pass as read-only, the variable's value is available to the function but it is treated as a constant. Read-only provides a performance advantage over passing by value for string, blob, date, time, and datetime arguments, because it does not create a copy of the data.
I am just wondering, is there a performance advantage also for standard numeric datatypes (int, long) when passed by readonly? If not, why?
Thank you in advance,
Josef
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.