On Saturday, June 2, 2018 at 12:17:34 PM UTC-5, Edward K. Ream wrote:
A lot of work remains, and times will increase a bit.
But perhaps not by much. This timeit script shows that creating 100,000
vnodes will add negligible time.
import timeit
number = 10**5
setup = '''\
class VNode (object):
def __init__(self, context, gnx):
self.context = context
self.gnx = gnx
'''
stmt = 'VNode(context=None, gnx=None)'
t = timeit.timeit(stmt=stmt, setup=setup, number=number)
g.es('Created %s vnodes in %5.3f sec.' % (number, t))
The output is "Created 100000 vnodes in 0.040 sec."
The other "semantic code" in fast_at.scan_lines will likely take a similar
amount of time.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.