[Pharo-project] How important is ANSI Smalltalk / speeding up ASCII/Latin1/Unicode I/O
I have been wondering about ways to speed up character-set conversions, and related I/O as mentioned in the recent email about MultiByteFileStream. However this change might break parts of the ANSI Smalltalk hierarchy - particularly around String. So my question is, how important is ANSI compatibility? Squeak? GNU Smalltalk? VW? VA? On a related question, how common is it to subclass String? Would it be a mess if it were its own little hierarchy of classes? ../Dave
2009/7/23 Dave Mason <dmason@mason-rose.ca>:
I have been wondering about ways to speed up character-set conversions, and related I/O as mentioned in the recent email about MultiByteFileStream. Â However this change might break parts of the ANSI Smalltalk hierarchy - particularly around String.
So my question is, how important is ANSI compatibility? Â Squeak? GNU Smalltalk? Â VW? VA?
On a related question, how common is it to subclass String? Â Would it be a mess if it were its own little hierarchy of classes?
My opinion, that we should follow the standards as much as possible. This is a good to have a layer , common for all dialects, so developers could port their software on different dialects without much hacking.
../Dave
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
Dave Mason wrote:
I have been wondering about ways to speed up character-set conversions, and related I/O as mentioned in the recent email about MultiByteFileStream. However this change might break parts of the ANSI Smalltalk hierarchy - particularly around String.
Important for Seaside, we use the utf8 fastpath by Andreas instead of Utf8TextConverter for this reason.
So my question is, how important is ANSI compatibility? Squeak? GNU Smalltalk? VW? VA?
What do you have in mind? In general ANSI compatibility is important for Seaside. Cheers Philippe
participants (3)
-
Dave Mason -
Igor Stasenko -
Philippe Marschall