Merge: Text attribute accesses optimization
authorJean Privat <jean@pryen.org>
Fri, 4 Sep 2015 03:33:29 +0000 (23:33 -0400)
committerJean Privat <jean@pryen.org>
Fri, 4 Sep 2015 03:33:29 +0000 (23:33 -0400)
commit8c0f2bff984b8b1cbf567fe8fa2eebbaf65e889d
treeba70292d7a7703792a35a6fed1872f3f38eee66c
parent77c297812a4ba94e86eac4223b90e842c48c85e0
parent59547995f6f5cbec4d9203cd46985caacd977b60
Merge: Text attribute accesses optimization

As a small optimization, accesses to private attributes in Text are replaced by direct accesses as in `file` or `collection`.

On the compiler this yields between 3 and 4% improvement in performances, however in some programs like nitmd, this yields around 15% optimization.

Pull-Request: #1683
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>