In message <[EMAIL PROTECTED]>, "Michael Remme" writes: >Of course, before starting to make my modifications, i searched the archive >and i found and read your message. When i looked into the code, i saw, that >every call to substitute, for instance, is sent to the static >Util.substitute and from there to some other, partially synchronized >methods. And there i don't see a synchonization problem, but a possible >block for threads, which are working parallel with larg textfiles to >substitute.
I'm confused. It would be easier to understand if you posted code. I don't know which classes you are talking about. I interpreted your last message as wanting to add sypnchronization, but this one sounds like it wants to remove synchronization, which is a good thing. But it sounds like you're talking about Perl5Util because none of the stuff in the .text.regex package uses synchronization. Perl5Util was a implemented in a very lazy fashion (synchronize all methods). If you have preserved the ability for a single instance to be used concurrently between mulltiple threads, but removed unnecessary synchronization points, by all means, please make your contributions known. There's plenty of room for improving Perl5Util. daniel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
