Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9155855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T12:40:10+00:00 2026-06-17T12:40:10+00:00

Is there a Java third party library that provides a collection that compresses its

  • 0

Is there a Java third party library that provides a collection that compresses its constituent objects? I googled for it but came up blank. Wouldn’t such a construct be useful for large (read multi-gig) maps, or some such thing? Sure there’s a performance penalty with access and storage, but for long lived infrequently accessed references, it seems reasonable, no?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T12:40:11+00:00Added an answer on June 17, 2026 at 12:40 pm

    The use cases for this are essentially use cases for in-memory databases, so you should probably look into those.

    If you were to do this, you’d probably have to basically serialize arbitrary java objects into bytes, then Reflect them back into the classes. May as well use an in-memory database – there’s no real difference that I can see anyway, other than that java is probably a bit high-level for that kind of thing.

    Note that this is actually somewhat java-specific – it might be that in C you could have a library which would grab the memory and just compress it without having to do any fancy stuff, but since Java doesn’t have access to memory it makes that kind of thing a bit hard…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a third-party library to detect the use of a Java 1.5 library
In a Java project, I am using a third-party library that loads some native
I've Goog'd but I can't find any third party library that will let you
In Java's standard library, is there a method that would allow one to sort
In my Java application, I use a third-party library. However, I found something strange,
There are many java standard and 3rd party libraries that in their public API,
In Java, is there a standard library that permits checking the status of a
Is there any thread-safe substitute for java.io.OutputStreamWriter in the JDK or some third party
Is there something like a two sided list in Java? Maybe a third party
I am using a third party library that does a System.exit() if it encounters

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.