----- Original Message ----- > Has anyone considered whether the cost of TLS could become a problem? > It seems like it is a bit of a problem for SPS. Seems like a fixable > problem though, especially for code that can statically know whether it's on > or off the main thread.
In addition to what Kyle said, Olli landed a patch last year that makes us much lazier about hitting the purple buffer, because it isn't particularly cheap even with main thread CC, so we do it a lot less than we used to. You won't repeatedly add and remove an object that is being addref'ed and release'd. Instead, you add it once, then toggle a bit on the object itself saying whether it is really really something you should consider to be purple. Andrew > Rob > -- > Wrfhf pnyyrq gurz gbtrgure naq fnvq, “Lbh xabj gung gur ehyref bs gur > Tragvyrf ybeq vg bire gurz, naq gurve uvtu bssvpvnyf rkrepvfr > nhgubevgl > bire gurz. Abg fb jvgu lbh. Vafgrnq, jubrire jnagf gb orpbzr terng > nzbat > lbh zhfg or lbhe freinag, naq jubrire jnagf gb or svefg zhfg or lbhe > fynir > — whfg nf gur Fba bs Zna qvq abg pbzr gb or freirq, ohg gb freir, naq > gb > tvir uvf yvsr nf n enafbz sbe znal.” [Znggurj 20:25-28] > _______________________________________________ > dev-platform mailing list > [email protected] > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list [email protected] https://lists.mozilla.org/listinfo/dev-platform

