required haxelib src/ directory

37 views
Skip to first unread message

Tong Disktree

unread,
Mar 12, 2014, 8:59:51 AM3/12/14
to haxe...@googlegroups.com
wouldn't it increase compiler performance if haxelib projects are forced to have source files in a src/ directory to avoid searching for .hx files in the whole library dir (examples/,tests/,..)?

/tong

Juraj Kirchheim

unread,
Mar 12, 2014, 9:07:54 AM3/12/14
to haxe...@googlegroups.com
Haxelib will assume the library root to be the class path, unless you
specify a different classPath in the haxelib.json. Enforcing the
convention you propose will no speed up anything.

Regards,
Juraj
> --
> To post to this group haxe...@googlegroups.com
> http://groups.google.com/group/haxelang?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Haxe" group.
> For more options, visit https://groups.google.com/d/optout.

tong

unread,
Mar 12, 2014, 9:37:17 AM3/12/14
to haxe...@googlegroups.com
but it would increase performance for libraries not using the classPath flag pointing to a 'root' directory if they include additional hx files like unit tests and examples outside of the libraries api (as many do).
not?


You received this message because you are subscribed to a topic in the Google Groups "Haxe" group.

For more options, visit https://groups.google.com/d/optout.



--
[) | 5 |< 7 |2 3 3 - http://disktree.net

tong

unread,
Mar 13, 2014, 3:56:24 AM3/13/14
to haxe...@googlegroups.com
huch. dumb me .. of course this would change nothing. ignore my words.
thanks juraj!
Reply all
Reply to author
Forward
0 new messages