Advertisement
Promo

Application development Toolkit

Download now

Accordion Arrays: Selective Compression of Unicode Arrays in Java

PublisherAssociation for Computing Machinery
Format473.7KB PDFDate added22 Oct 2007
Topics Programming Languages, Java, Software Engineering
Downloads9

This paper presents accordion arrays, a straightforward and effective memory compression technique targeting Unicode-based character arrays. In many non-numeric Java programs, character arrays represent a significant fraction (30-40% on average) of the heap memory allocated. In many locales, most, but not all, of those arrays consist entirely of characters whose top bytes are zeros, and, hence, can be stored as byte arrays without loss of information. In order to get the almost factor of two compression rate for character vectors, two challenges must be overcome all code that reads and writes character vectors must dynamically determine which kind of array is being accessed and perform byte or character loads/stores as appropriate, and compressed vectors must be dynamically inflated when an incompressible character is written.

Download now

Did you find this white paper useful?
1 out of 2 users found this white paper useful


  • Trackback
  • Clip Link

Related white papers

Enhancing Development and Performance with C# 2.0 Generics

Generics allow you to define data structures, without committing to actual data types. This results with significant performance boost, and higher quality code, because you get to reuse data processing...


Sentara Healthcare optimizes the health of critical technology

To effectively serve the 2 million residents that turn to them for healthcare services, Sentara Healthcare must coordinate operations across some 112 separate facilities in Virginia and North Carolina, including...


MSDN Webcast: Comparative Windows Code Protection Technologies, Strengths, and Weaknesses (Level 200)

As a developer, one not only have to consider writing great applications with broad appeal, but one also needs to consider how to protect applications so that they are not...


MSDN Webcast: Lighting Up the New Visual Studio 2010 Editor With Rich Extensions (Level 200)

While many of them may know that Microsoft Visual Studio 2010 comes with a new extensible editor based on Windows Presentation Foundation (WPF), does one know why one should care?...


MSDN Webcast: Got Memory Leaks? Find Errors Using Intel Parallel Studio (Level 300)

Discover how easy it is to detect challenging memory errors by taking advantage of the power of Microsoft Visual Studio 2010 and Intel Parallel Studio. Intel Parallel Studio is an...


Ajax: For Graphics-Intensive Web Applications

Ajax (which stands for asynchronous JavaScript and XHTML) is not a technology per se, but rather a design approach for Web applications. Ajax improves the user's Web application experience while...


Numerical Library Provider Realizes Major Performance Gains by Parallelizing Its Code

Visual Numerics needed a way to efficiently parallelize its C# numerical library software - and thus realized the performance gains made possible by today's multicore processors. The company continues to...


Broadband Deals? Powered by Top 10 Broadband

150+ broadband packages

Compare 30+ mobile broadband deals

Mobile Broadband »
White Paper

Featured White Paper

Centrinet case study

Centrinet launched an innovative business service - Smartbunker - based on renewable energy and energy-efficient technology(efficient IBM BladeCenter servers and Cisco networking hardware), It's the UK's first managed data centre service committed to zero carbon energy. This unique proposition drastically reduces power consumption by around 60%.

Download Now

Other White Papers

Contact Centres: Optimum service at optimum cost

Getting the balance right between meeting the inbound call expectations of busy customers and...

Fact Sheet : IBMXIV Storage System

The IBM XIV® Storage System is a ground-breaking, high-end disk system, designed to support...

See All White Papers


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters