Skip to content
#

collections

Here are 729 public repositories matching this topic...

stefanct
stefanct commented Jan 19, 2020

The documentation gives some hints that the default hashtable and hashset implementation are assuming C strings as keys. However, the "official" documentation use some defines that have been removed in the meantime, i.e. in 9b4c3cb. As of now using the hashing data structures with anything but strings as keys is rather a PITA. There is al

tjramage
tjramage commented Aug 3, 2019

I have noticed that when calling Collection.update with { multi: true } set as an option, the collection.before.update hook is called once per document, however, the modifier parameter is the same object that was used in the previous iteration.

This is dangerous if we are setting modifier values based solely on the individual properties of the document we are currently iterating over.

majdal
majdal commented Apr 18, 2019

I'm trying to find out how to fit vue-mc into my app's architecture, and the docs are helpful, but maybe I am missing something obvious:

In the Vue docs data section, it reads:

A rule of thumb is that data should just be data - it is not recommended to observe objects with their own stateful behavior.

Where should I store my model instance otherwise?

andysnell
andysnell commented Mar 7, 2019

I'm looking for some clarification about the intended behavior for toArray(). As per the current project documentation, the toArray() method (emphasis mine):

Converts the collection to array recursively.

A recursive operation implies that a collection of collections would be converted into an array of arrays; however, the current behavior just calls iterator_to_array on the to

FranciscoE-Hudl
FranciscoE-Hudl commented Jul 16, 2016

There is some immediate backlash about immutable collections by Java users, as their understanding of the concept is either getting a full copy per operation, or receiving an exception on mutating methods.

The persistent keyword along with some references to Big O perf in the documentation may help spread the understanding of the difference.

maoruibin
maoruibin commented Apr 14, 2017

JDK 与 JVM 以及 JRE 的关系

在说 JDK 与 JVM 的关系前,先说说 JDK 与 JRE 之间的关系。
JDK 是 Java 开发工具包,如果你要开发 Java 程序,总得使用 Java 提供的 API 进行开发吧,JDK 就是我们开发 Java 程序的工具。

JDK 包含 JRE。JRE 是 Java 程序的运行时环境,也就是说,他是运行 Java 程序的一个环境。

我们都知道,Java 字节码的运行需要在 JVM 中完成,所以 JRE 必定包含一个 JVM(Java 虚拟机)。

Improve this page

Add a description, image, and links to the collections topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the collections topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.