Projects tigase _server tigase-pubsub Issues #121
Use String.intern() for PEP CAPS nodes string (#121)
Closed
wojciech.kapcia@tigase.net opened 3 years ago

from #acspubsub-22

deduplicating strings may work, though maybe we could leverage using String.intern() when storing those entries? It should result in only having objects stored in String constant pool?

I was considering the usage of String.intern() but it would keep CAPS node string allocated forever. With many different clients (different CAPS nodes) we could have a lot of them in memory, but still less than without String.intern(), so we could go this route to keep things simple.

issue 1 of 1
Type
Task
Priority
Normal
Assignee
Version
Candidate for next minor release, tigase-server-8.2.0
Spent time
15m
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/tigase-pubsub#121
Please wait...
Page is in error, reload to recover