I'm reading the `concept` documentation in the devel branch and I noticed the
new (I think) descriptions of vtref and vtptr. Are these intended to replace
`method`? I haven't seen these features discussed on the forum yet. From the
brief description, it appears that these would provide
> On my PC the unoptimzed build manages to fire 320 000 events in 1.5 seconds.
> So if a game runs with 60 FPS theoretically only ~3555 events could be fired.
> Nevertheless it is much faster than Luxes implementation which uses Regexes
> and a linear search.
I wouldn't worry. A factor of 10
So that's what I've come up with:
[https://gist.github.com/RSDuck/e6969f0331d3bc9dd4fde2bebad3](https://gist.github.com/RSDuck/e6969f0331d3bc9dd4fde2bebad3)
Example:
testSystem.listen("ui.*.click") do (event: string, args:
openArray[Variant]):
echo "Someone
Sorry to be the resident annoying guardian of
[copyfree](http://copyfree.org/standard/rejected)-dom, but [the Apache License
on this library](https://github.com/unicredit/cello/issues/1) means that it
**and everything that uses it** would have to be excluded from all
pure-copyfree projects
> For my use case it is very important, that I can get all the sizes at compile
> time
You may not be able to make all these things available at Nim-compile-time
because they are not fully determined until the C (or whatever) backend compile
is reached. For example,
type foo
There are multiple ways to do this in the compiler and you need to play around
to see what works best for sizeof and alignof and offsetof.
* Add new `mAlignOf`, `mOffsetOf` to the `ast.TMagic` enum.
Either add the handling to:
1\. `magicsAfterOverloadResolution` in `semmagic.nim`
Or:
2\.
What do you mean by 'bind'?