We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f23a15 commit 3690bd7Copy full SHA for 3690bd7
src/main/java/rx/internal/util/IndexedRingBuffer.java
@@ -61,8 +61,6 @@ protected IndexedRingBuffer<?> createObject() {
61
62
};
63
64
- static int defaultSize = 256;
65
-
66
/* package for unit testing */static final int SIZE;
67
68
// default size of ring buffer
@@ -237,6 +235,8 @@ protected IndexedRingBuffer<?> createObject() {
237
235
* } </pre>
238
236
*/
239
static {
+ int defaultSize = 128;
+
240
// lower default for Android (https://github.com/ReactiveX/RxJava/issues/1820)
241
if (PlatformDependent.isAndroid()) {
242
defaultSize = 8;
0 commit comments