On 06/10/2017 06:05, Nicholas Nethercote wrote:
If we went with the second option from my original mail (i.e. stop using
heapsize) then it would probably make sense to deprecate heapsize entirely,
stop those crates from depending on it, and implement the MallocSizeOf
trait for those crates' types within Servo.

I’m in favor of this.

It does create a contention point in the dependency graph (malloc_size_of depends on many crates, and many other crates depend on malloc_size_of). But the current heapsize situation (crates in many repositories depend on heapsize) is also a pain whenever we want to make breaking changes to heapsize.

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to