Questions tagged [fragmentation]

5 questions
15
votes
3 answers

Why use Android Fragments?

I have read the documentation and some other questions' threads about this topic and I don't really feel convinced; I don't see clearly the limits of use of this technique. Fragments are now seen as a Best Practice; every Activity should be…
ahmed_khan_89
  • 263
  • 1
  • 2
  • 9
7
votes
3 answers

How do people deal with Android fragmentation?

I've spent the past few years working on iOS apps, and I'm now giving some serious consideration to creating an Android port of one of my apps. I'm sure that complaints about fragmentation are a frustrating cliche to experienced Android programmers,…
Bill
  • 972
  • 8
  • 12
5
votes
2 answers

Heaps: Why is there a tradeoff between amount of space occupied (fragmentation), and speed at which operations are carried out?

Apparently, the two major judging criteria of the effectiveness of heaps are (1) how much we can minimize the amount of space it takes up and (2) how fast operations on the heap can be carried out, eg, malloc and free But I was wondering how these…
Dark Templar
  • 6,223
  • 16
  • 46
  • 46
3
votes
1 answer

Are there some good algorithms for implementing a Heap that minimizes fragmentation?

Right now I'm trying to create a Heap that requires 8-byte alignment, and was looking around online for some good methods that would minimize the amount of fragmentation. Less fragmentation is ideal, and even the ones that will slow down a lot are a…
Dark Templar
  • 6,223
  • 16
  • 46
  • 46
2
votes
1 answer

How to version control a fragmented codebase until it is properly merged?

My team has a mix of software developers and scientists, and version control has been messy in the past. We're trying to do better, which leads me to ask this question. We have a central codebase for a subset of projects that includes code for…
cr0
  • 121
  • 3