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

  • Home
  • SEARCH
  • 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 6375307
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T01:35:54+00:00 2026-05-25T01:35:54+00:00

I have an android application that uses a datastructure consisting couple of binary trees

  • 0

I have an android application that uses a datastructure consisting couple of binary trees and other structures like list and arrays all linked to each other. i would like you all to suggest a scheme for saving and retriving this data structure. the data structure is created through a SAX parses (the source is XML file). i have tried java serialization/de-serialization but find it atleast twice as slow as using the original SAX parser to build the structure.
the serailzation(RAM to storage) time is not of high importance has it will take place as a background process, but i want a faster deserialisation(storage to RAM) scheme.

i dont want any type checking features etc. all i want is a fast serailization and faster deserialization scheme. also is Google’s Protocol Buffer a good candidate? please suggest ..

(note: my app will be show a blank window(Activity) untill the datastructure is deserialised, so speed is of highest importance and i have skinned down my DS to the utmost possible)

Thanks in advance

  • 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-05-25T01:35:54+00:00Added an answer on May 25, 2026 at 1:35 am

    Default de/serialization is usually quite slow for it relies on reflection extensively (which is slow). You can try to implement it manually by redefining readObject/writeObject on your class, it usually gives noticeable performance boost.

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

Sidebar

Related Questions

I have a Web Service and an Android application that uses this web service.
I have written an Android application that uses SQLite database which is saved in
I have a android application, that uses many images. and application is to be
I have written a simple Android application that uses a sqlite database which is
I have an Android application that uses tabs. I already have the tabs, and
I have an Android application that uses speech recognition in an Activity. The GUI
I have a screen that uses tabs in my android application. There is a
In my android application which uses GPS, I have UI elemnts that should blink
I have an Android application that uses the well known Strategies for Legacy Applications
I have created android application that uses Google Maps, ans it works fine here

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.