By the way, in SQL Data Lens, which works via JDBC, it is possible to see the source code of classes:
User bio
404 bio not found
Member since Apr 14, 2022
Posts:
Replies:
USER>d ##class(dc.test).Test() Stream.Size=25488008 Stream2BytesArray1 len(r)=25488008 time=.752708 s. Stream2BytesArray2 len(r)=25488008 time=.14895 s. Stream2BytesArray3 len(r)=25488008 time=.080003 s.
The numbers speak for themselves.
ClassMethod Stream2BytesArray(stream As %Stream.Object) As %SYS.Python
{
set builtin = $SYSTEM.Python.Builtins()
set b = builtin.bytearray()
do stream.Rewind()
while 'stream.AtEnd {
set r = $system.Python.Bytes(stream.Read($$$MaxLocalLength))
do b.extend(r)
}
quit b
}
Certifications & Credly badges:
Vitaliy has no Certifications & Credly badges yet.
Global Masters badges:
Vitaliy has no Global Masters badges yet.
Followers:
Following:
Vitaliy has not followed anybody yet.